<?php if($member->mid != $master['mid']):?>
<div class="messageform">
	<form name="memberMessage" class="messageForm" method="post" action="<?=site_url('space/message/'.$master['mid'])?>" >
	<textarea name="content" placeholder="说点什么吧"></textarea>
	<input type="submit" class="subbtn" value="给Ta留言" />
	</form>
</div>
<?php endif;?>
<script type="text/javascript" >
$(document.memberMessage).validation();
</script>
<dl class="messagelist">
	<?php foreach ($msglist as $key => $msg):?>
	<dt class="left">
		<div class="userinfo">
			<a href="<?=$msg['spaceurl']?>" class="left avatar"><img src="<?=$msg['avatar']?>" alt="<?=$msg['mnick']?>" /></a>
			<h4><?=$msg['mnick']?></h4>
			<p></p>
		</div>
		<a href="<?=site_url('member/message/dialogue/1')?>" class="detail ani">来往记录</a>
	</dt>
	<dd class="right content">
		<div class="content">
			<?=$msg['content']?>
		</div>
		<div class="info"><span class="date"><?=$msg['puttime']?></span></div>
	</dd>
	<dd class="clear"></dd>
	<?php endforeach;?>
</dl>